package cn.tutu.blockchain.common;

import org.apache.shiro.SecurityUtils;

import cn.tutu.blockchain.sysuser.entity.SysUser;

public class ShiroUtils {

	public static SysUser getLoginUser() {
		return (SysUser) SecurityUtils.getSubject().getPrincipal();
	}

}
